﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zor_DAL;

namespace Zor_Bll
{
    public class GIS_StatisticalTable_Bll<T> where T :class
    {
       /// <summary>
       /// 获取街道办综合治税列表
       /// </summary>
       /// <param name="index"></param>
       /// <param name="TotalCount"></param>
        /// <param name="where"></param>
       /// <returns></returns>
        public static List<T> StreetOfficeInfoInfo(string stateDate, string endDate)
        {
            return GIS_StatisticalTable_DAL<T>.StreetOfficeInfoInfo(stateDate,endDate);
        }

        /// <summary>
        /// 社区导出
        /// </summary>
        /// <param name="stateDate"></param>
        /// <param name="endDate"></param>
        /// <returns></returns>
        public static List<T> GetCommunityInfo(int StreetOfficeID, string stateDate, string endDate)
        {
            return GIS_StatisticalTable_DAL<T>.CommunityExport(StreetOfficeID,stateDate, endDate);
        }
        /// <summary>
        /// 获取社区综合治税列表
        /// </summary>
        /// <param name="StreetOffice_Id"></param>
        /// <returns></returns>
        public static List<T> CommunityInfo(int StreetOffice_Id, string dateWhere)
        {
            return GIS_StatisticalTable_DAL<T>.GetCommunityInfo(StreetOffice_Id,dateWhere);
        }

        /// <summary>
        /// 导出街道办统计数据获取列表不分页
        /// </summary>
        /// <param name="where"></param>
        /// <returns></returns>
        public static List<T> GetList(string where)
        {
            return GIS_StatisticalTable_DAL<T>.SelectStatisticalTable(where);

        }
    }
}
